home *** CD-ROM | disk | FTP | other *** search
/ 500 MB Nyheder Direkte fra Internet 9 / 500 MB nyheder direkte fra internet CD 9.iso / start / zipped / dos / novell / sdk.exe / SDK / INCLUDE / NWDEL.H < prev    next >
C/C++ Source or Header  |  1995-05-09  |  3KB  |  114 lines

  1. /******************************************************************************
  2.  
  3.   $Workfile:   nwdel.h  $
  4.   $Revision:   1.9  $
  5.   $Modtime::   08 May 1995 16:57:06                        $
  6.   $Copyright:
  7.  
  8.   Copyright (c) 1989-1995 Novell, Inc.  All Rights Reserved.                      
  9.  
  10.   THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
  11.   TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
  12.   COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
  13.   EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
  14.   WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
  15.   OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
  16.   CRIMINAL AND CIVIL LIABILITY.$
  17.  
  18.  *****************************************************************************/
  19.  
  20. #if ! defined ( NWDEL_H )
  21. #define NWDEL_H
  22.  
  23. #if ! defined ( NTYPES_H )
  24. #include "ntypes.h"
  25. #endif
  26.  
  27. #if ! defined ( NWCALDEF_H )
  28. #include "nwcaldef.h"
  29. #endif
  30.  
  31. #include "npackon.h"
  32.  
  33. #ifdef __cplusplus
  34. extern "C" {
  35. #endif
  36.  
  37. typedef struct
  38. {
  39.    nuint32  sequence;
  40.    nuint32  parent;
  41.    nuint32  attributes;
  42.    nuint8   uniqueID;
  43.    nuint8   flags;
  44.    nuint8   nameSpace;
  45.    nuint8   nameLength;
  46.    nuint8   name [256];
  47.    nuint32  creationDateAndTime;
  48.    nuint32  ownerID;
  49.    nuint32  lastArchiveDateAndTime;
  50.    nuint32  lastArchiverID;
  51.    nuint32  updateDateAndTime;
  52.    nuint32  updatorID;
  53.    nuint32  fileSize;
  54.    nuint8   reserved[44];
  55.    nuint16  inheritedRightsMask;
  56.    nuint16  lastAccessDate;
  57.    nuint32  deletedTime;
  58.    nuint32  deletedDateAndTime;
  59.    nuint32  deletorID;
  60.    nuint8   reserved3 [16];
  61. } NWDELETED_INFO;
  62.  
  63. NWCCODE N_API NWPurgeDeletedFile
  64. (
  65.    NWCONN_HANDLE  conn,
  66.    NWDIR_HANDLE   dirHandle,
  67.    nuint32        iterHandle,
  68.    nuint32        volNum,
  69.    nuint32        dirBase,
  70.    pnstr8         fileName
  71. );
  72.  
  73. NWCCODE N_API NWRecoverDeletedFile
  74. (
  75.    NWCONN_HANDLE  conn,
  76.    NWDIR_HANDLE   dirHandle,
  77.    nuint32        iterHandle,
  78.    nuint32        volNum,
  79.    nuint32        dirBase,
  80.    pnstr8         delFileName,
  81.    pnstr8         rcvrFileName
  82. );
  83.  
  84. NWCCODE N_API NWScanForDeletedFiles
  85. (
  86.    NWCONN_HANDLE  conn,
  87.    NWDIR_HANDLE   dirHandle,
  88.    pnuint32       iterHandle,
  89.    pnuint32       volNum,
  90.    pnuint32       dirBase,
  91.    NWDELETED_INFO N_FAR * entryInfo
  92. );
  93.  
  94. NWCCODE N_API NWPurgeErasedFiles
  95. (
  96.    NWCONN_HANDLE  conn
  97. );
  98.  
  99. NWCCODE N_API NWRestoreErasedFile
  100. (
  101.    NWCONN_HANDLE  conn,
  102.    NWDIR_HANDLE   dirHandle,
  103.    pnstr8         dirPath,
  104.    pnstr8         oldName,
  105.    pnstr8         newName
  106. );
  107.  
  108. #ifdef __cplusplus
  109. }
  110. #endif
  111.  
  112. #include "npackoff.h"
  113. #endif
  114.